
QT       += widgets serialport

TEMPLATE = app
CONFIG   += c++11

DESTDIR  = ../bin
UI_DIR  = build
RCC_DIR = build

CONFIG(debug, debug|release) {
    TARGET      = terminald

    OBJECTS_DIR = build/debug
    MOC_DIR     = build/debug

}
else {
    TARGET      = terminal

    OBJECTS_DIR = build/release
    MOC_DIR     = build/release
}

SOURCES += \
    main.cpp \
    mainwindow.cpp \
    settingsdialog.cpp \
    console.cpp

HEADERS += \
    mainwindow.h \
    settingsdialog.h \
    console.h

FORMS += \
    mainwindow.ui \
    settingsdialog.ui

RESOURCES += \
    terminal.qrc
